package com.spring.task;

import org.apache.log4j.Logger;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration;
import org.springframework.scheduling.annotation.EnableScheduling;


/**
 * 程序入口
 *
 */
@SpringBootApplication(exclude={DataSourceAutoConfiguration.class,HibernateJpaAutoConfiguration.class})
@EnableScheduling


public class App 
{
	private static Logger logger = Logger.getLogger(App.class);
	 
    
    public static void main( String[] args )
    {
    	logger.info("===============Main begin===============");
    	SpringApplication.run(App.class);
    }
}
